function GuiPageCustomerOld() {
  
}

GuiPageCustomerOld.instance = function(prefix) {
  return { customerNo: document.getElementById(prefix + '_customerNo_div'),
           search: document.getElementById(prefix + '_search_div'),
           createDate: document.getElementById(prefix + '_createDate_div'),           
           customer: { bridename: document.getElementById(prefix + '_brideName_text'),
                       brideaddrLn1: document.getElementById(prefix + '_brideLn1_text'),
                       brideaddrLn2: document.getElementById(prefix + '_brideLn2_text'),
                       bridephone: document.getElementById(prefix + '_bridePhone_text'),
                       bridemobile: document.getElementById(prefix + '_brideMobile_text'),
                       brideemail: document.getElementById(prefix + '_brideEmail_text')
                              ,
                       groomname: document.getElementById(prefix + '_groomName_text'),
                       groomaddrLn1: document.getElementById(prefix + '_groomLn1_text'),
                       groomaddrLn2: document.getElementById(prefix + '_groomLn2_text'),
                       groomphone: document.getElementById(prefix + '_groomPhone_text'),
                       groommobile: document.getElementById(prefix + '_groomMobile_text'),
                       groomemail: document.getElementById(prefix + '_groomEmail_text')
                              ,
                       cultural: { name: document.getElementById(prefix + '_cultural_select'),
                                   add: document.getElementById(prefix + '_addCultural_button')
                                 },
					   cultural2: { name: document.getElementById(prefix + '_cultural2_select'),
                                    add: document.getElementById(prefix + '_addCultural2_button')
                                  },
                       ceremony: { name: document.getElementById(prefix + '_ceremony_select'),
                                   add: document.getElementById(prefix + '_addCeremony_button')
                                 },
                       reception: { name: document.getElementById(prefix + '_reception_select'),
                                    add: document.getElementById(prefix + '_addReception_button')
                                  },
                       source: { name: document.getElementById(prefix + '_source_select'),
                                 add: document.getElementById(prefix + '_addSource_button')
                               },
							   rc: document.getElementById(prefix + '_rc_tr')
                     },
           cancelReason: document.getElementById(prefix + '_cancelReason_div'),
           cancelCustomer: document.getElementById(prefix + '_cancelCustomer_button'),
           payment: { price: document.getElementById(prefix + '_price_div'),
                      percent: document.getElementById(prefix + '_pPercent_div'),
                      received: document.getElementById(prefix + '_received_div'),
                      anticipated: document.getElementById(prefix + '_anticipated_div')
                    },
           order: { orderTab: document.getElementById(prefix + '_orderTab_div'),
                    modify: document.getElementById(prefix + '_modify_button'),
                    printOrders: document.getElementById(prefix + '_printAllOrders_button'),
                    print: document.getElementById(prefix + '_printOrder_button'),
                    finish: document.getElementById(prefix + '_finish_button'),
                    cancel: document.getElementById(prefix + '_cancelOrder_button'),
                    message: document.getElementById(prefix + '_message_div'),
                    producePrint: document.getElementById(prefix + '_producePrint_button'),
                    total: document.getElementById(prefix + '_totalPrice_div'),
                    percent: document.getElementById(prefix + '_percent_div'),
                    type: document.getElementById(prefix + '_orderType_div'),
                    photoPackage: document.getElementById(prefix + '_photoPackage_div'),
                    videoPackage: document.getElementById(prefix + '_videoPackage_div'),
                    dateTitle: document.getElementById(prefix + '_dateTitle_img'),
                    date: document.getElementById(prefix + '_date_div'),
                    payment: { print: document.getElementById(prefix + '_print_button'),
                               price: document.getElementById(prefix + '_tPrice_div'),
                               received: document.getElementById(prefix + '_totalReceived_div'),
                               anticipated: document.getElementById(prefix + '_totalAnticipated_div'),
                               date: document.getElementById(prefix + '_date_text'),
                               pay1: { container: document.getElementById(prefix + '_payment1_div'),
                                       fee: document.getElementById(prefix + '_payment1_text'),
                                       percent: document.getElementById(prefix + '_paymentPercent1_div'),
                                       cash: document.getElementById(prefix + '_depCash_radio'),
                                       bank: document.getElementById(prefix + '_depBank_radio'),
                                       cheque: document.getElementById(prefix + '_depQueck_radio'),
                                       payBtn: document.getElementById(prefix + '_paid1_button'),
                                       history: document.getElementById(prefix + '_paidHistory1_div'),
                                       paidc: document.getElementById(prefix + '_paidc1_div'),
                                       paid: document.getElementById(prefix + '_paid1_div'),
                                       due: document.getElementById(prefix + '_due1_div'),
                                     },
                               pay2: { container: document.getElementById(prefix + '_payment2_div'),
                                       fee: document.getElementById(prefix + '_payment2_text'),
                                       percent: document.getElementById(prefix + '_paymentPercent2_div'),
                                       cash: document.getElementById(prefix + '_payment2Cash_radio'),
                                       bank: document.getElementById(prefix + '_payment2Bank_radio'),
                                       cheque: document.getElementById(prefix + '_payment2Queck_radio'),
                                       payBtn: document.getElementById(prefix + '_paid2_button'),
                                       history: document.getElementById(prefix + '_paidHistory2_div'),
                                       paidc: document.getElementById(prefix + '_paidc2_div'),
                                       paid: document.getElementById(prefix + '_paid2_div'),
                                       due: document.getElementById(prefix + '_due2_div'),
                                     },
                               pay3: { container: document.getElementById(prefix + '_payment3_div'),
                                       fee: document.getElementById(prefix + '_payment3_text'),
                                       percent: document.getElementById(prefix + '_paymentPercent3_div'),
                                       cash: document.getElementById(prefix + '_payment3Cash_radio'),
                                       bank: document.getElementById(prefix + '_payment3Bank_radio'),
                                       cheque: document.getElementById(prefix + '_payment3Queck_radio'),
                                       payBtn: document.getElementById(prefix + '_paid3_button'),
                                       history: document.getElementById(prefix + '_paidHistory3_div'),
                                       paidc: document.getElementById(prefix + '_paidc3_div'),
                                       paid: document.getElementById(prefix + '_paid3_div'),
                                       due: document.getElementById(prefix + '_due3_div'),
                                     },
                               pay4: { container: document.getElementById(prefix + '_payment4_div'),
                                       fee: document.getElementById(prefix + '_payment4_text'),
                                       percent: document.getElementById(prefix + '_paymentPercent4_div'),
                                       cash: document.getElementById(prefix + '_payment4Cash_radio'),
                                       bank: document.getElementById(prefix + '_payment4Bank_radio'),
                                       cheque: document.getElementById(prefix + '_payment4Queck_radio'),
                                       payBtn: document.getElementById(prefix + '_paid4_button'),
                                       history: document.getElementById(prefix + '_paidHistory4_div'),
                                       paidc: document.getElementById(prefix + '_paidc4_div'),
                                       paid: document.getElementById(prefix + '_paid4_div'),
                                       due: document.getElementById(prefix + '_due4_div'),
                                     }
                             },
                    refund: { date: document.getElementById(prefix + '_refundDate_text'),
                              fee: document.getElementById(prefix + '_refundFee_text'),
                              cash: document.getElementById(prefix + '_refundCash_radio'),
                              bank: document.getElementById(prefix + '_refundBank_radio'),
                              cheque: document.getElementById(prefix + '_refundQueck_radio'),
                              payBtn: document.getElementById(prefix + '_refundPaid_button'),
                              refundc: document.getElementById(prefix + '_refundc_div'),
                              refund: document.getElementById(prefix + '_refund_div'),
                              history: document.getElementById(prefix + '_refundHistory_div')
                             },
                    produceHistory: document.getElementById(prefix + '_produceHistory_link'),
                    pmusic: document.getElementById(prefix + '_preconMusic_div'),
                    photoVideo: document.getElementById(prefix + '_photoVideo_div'),
                    packageInclude: document.getElementById(prefix + '_packageInclude_div'),
                    additions: document.getElementById(prefix + '_additions_div'),
                    customerNote: document.getElementById(prefix + '_customerNote_div')
                   },
            bgcolor: document.getElementById(prefix + '_bgcolor_table'),
            
            
            fontColor1: document.getElementById(prefix + '_bgColor1_div'),
            fontColor2: document.getElementById(prefix + '_bgColor2_div'),
            fontColor3: document.getElementById(prefix + '_bgColor3_div'),
            fontColor4: document.getElementById(prefix + '_bgColor4_div'),
            fontColor5: document.getElementById(prefix + '_bgColor5_div'),
            fontColor6: document.getElementById(prefix + '_bgColor6_div'),
            fontColor7: document.getElementById(prefix + '_bgColor7_div'),
            fontColor8: document.getElementById(prefix + '_bgColor8_div'),
            fontColor9: document.getElementById(prefix + '_bgColor9_div'),
            fontColor10: document.getElementById(prefix + '_bgColor10_div'),
            fontColor11: document.getElementById(prefix + '_bgColor11_div'),
            fontColor12: document.getElementById(prefix + '_bgColor12_div'),
            fontColor13: document.getElementById(prefix + '_bgColor13_div'),
            fontColor14: document.getElementById(prefix + '_bgColor14_div'),
            fontColor15: document.getElementById(prefix + '_bgColor15_div'),
            fontColor16: document.getElementById(prefix + '_bgColor16_div'),
            fontColor17: document.getElementById(prefix + '_bgColor17_div'),
            fontColor18: document.getElementById(prefix + '_bgColor18_div'),
            fontColor19: document.getElementById(prefix + '_bgColor19_div'),
            fontColor20: document.getElementById(prefix + '_bgColor20_div'),
            fontColor21: document.getElementById(prefix + '_bgColor21_div'),
            fontColor22: document.getElementById(prefix + '_bgColor22_div'),
            fontColor23: document.getElementById(prefix + '_bgColor23_div'),
            fontColor24: document.getElementById(prefix + '_bgColor24_div'),
            fontColor25: document.getElementById(prefix + '_bgColor25_div'),
            fontColor26: document.getElementById(prefix + '_bgColor26_div'),
            fontColor27: document.getElementById(prefix + '_bgColor27_div'),
            fontColor28: document.getElementById(prefix + '_bgColor28_div'),
            fontColor29: document.getElementById(prefix + '_bgColor29_div'),
            fontColor30: document.getElementById(prefix + '_bgColor30_div'),
            fontColor31: document.getElementById(prefix + '_bgColor31_div'),
            fontColor32: document.getElementById(prefix + '_bgColor32_div'),
            fontColor33: document.getElementById(prefix + '_bgColor33_div'),
            fontColor34: document.getElementById(prefix + '_bgColor34_div'),
            fontColor35: document.getElementById(prefix + '_bgColor35_div'),
            ecndiv: document.getElementById(prefix + '_ecn_div'),
            ecn: document.getElementById(prefix + '_ecn_checkbox'),            
            officeNote: document.getElementById(prefix + '_officeNote_textarea'),
            reminderNote: document.getElementById(prefix + '_reminderNote_textarea'),
            save: document.getElementById(prefix + '_save_button'),
            cancel: document.getElementById(prefix + '_cancel_button')
         }
};